package cn.com.victorysoft.ylgl.service.fracturingpressure.domain;

import cn.com.victorysoft.ylgl.service.commons.domain.BaseEntity;
import cn.com.victorysoft.ylgl.service.commons.json.DateToISODateTimeSerializer;
import com.fasterxml.jackson.annotation.JsonFormat;
import com.fasterxml.jackson.databind.annotation.JsonSerialize;
import org.springframework.format.annotation.DateTimeFormat;

import java.math.BigDecimal;
import java.util.Date;

/**
 * 压后作业数据
 */
public class FracturingAfterJob  extends BaseEntity {

    private String wellId;

    @DateTimeFormat(
            pattern = "yyyy-MM-dd"
    )
    private Date operationTime;

    private String jobContent;

    private BigDecimal tubingPres;

    private BigDecimal casingPres;

    private BigDecimal chokeSize;

    private BigDecimal liqProdDaily;

    private BigDecimal oilProdDaily;

    private BigDecimal waterCut;

    private BigDecimal addProdLiquid;

    private BigDecimal addProdOil;

    private String fluidProperty;

    private String remarks;

    public String getWellId() {
        return wellId;
    }

    public void setWellId(String wellId) {
        this.wellId = wellId == null ? null : wellId.trim();
    }

    @DateTimeFormat(pattern="yyyy-MM-dd")
    @JsonFormat(pattern="yyyy-MM-dd")
    public Date getOperationTime() {
        return operationTime;
    }

    @JsonSerialize(using = DateToISODateTimeSerializer.class)
    public void setOperationTime(Date operationTime) {
        this.operationTime = operationTime;
    }

    public String getJobContent() {
        return jobContent;
    }

    public void setJobContent(String jobContent) {
        this.jobContent = jobContent;
    }

    public BigDecimal getTubingPres() {
        return tubingPres;
    }

    public void setTubingPres(BigDecimal tubingPres) {
        this.tubingPres = tubingPres;
    }

    public BigDecimal getCasingPres() {
        return casingPres;
    }

    public void setCasingPres(BigDecimal casingPres) {
        this.casingPres = casingPres;
    }

    public BigDecimal getChokeSize() {
        return chokeSize;
    }

    public void setChokeSize(BigDecimal chokeSize) {
        this.chokeSize = chokeSize;
    }

    public BigDecimal getLiqProdDaily() {
        return liqProdDaily;
    }

    public void setLiqProdDaily(BigDecimal liqProdDaily) {
        this.liqProdDaily = liqProdDaily;
    }

    public BigDecimal getOilProdDaily() {
        return oilProdDaily;
    }

    public void setOilProdDaily(BigDecimal oilProdDaily) {
        this.oilProdDaily = oilProdDaily;
    }

    public BigDecimal getWaterCut() {
        return waterCut;
    }

    public void setWaterCut(BigDecimal waterCut) {
        this.waterCut = waterCut;
    }

    public BigDecimal getAddProdLiquid() {
        return addProdLiquid;
    }

    public void setAddProdLiquid(BigDecimal addProdLiquid) {
        this.addProdLiquid = addProdLiquid;
    }

    public BigDecimal getAddProdOil() {
        return addProdOil;
    }

    public void setAddProdOil(BigDecimal addProdOil) {
        this.addProdOil = addProdOil;
    }

    public String getFluidProperty() {
        return fluidProperty;
    }

    public void setFluidProperty(String fluidProperty) {
        this.fluidProperty = fluidProperty;
    }

    public String getRemarks() {
        return remarks;
    }

    public void setRemarks(String remarks) {
        this.remarks = remarks;
    }
}